import request from '@/utils/request'

const districtApi = {
  getContractNewOrSupplement: '/api/packinfo/getNewPack',
  getRentManageList: '/api/packinfo/getRentManageList',
  getRentReductStandardManageList: '/api/packinfo/getRentReductStandardManageList',
  getSignContractMode: '/api/packinfo/get_ProposerIDMode',
  postContract: '/api/packinfo/postebll_No007Pact',
  getContractDetail: '/api/packinfo/gete_PactDetailID',
  getContractContinueOrStop: '/api/packinfo/getPackInfoGoOnAndStop',
  endContract: '/api/packinfo/postStopPack',
  getContractStatistics: '/api/packinfo/getPackStatistic',
  getContractAccount: '/api/packinfo/getPackLedger',
  getStaticHouse: '/api/packinfo/getStaticHouse',
  getAllocated: '/api/packinfo/getAllocated',
  getSigned: '/api/packinfo/getSigned',
  getContractRentAccount: '/api/packinfo/getContractRentAccount',
  getContractRentAccountDetail: '/api/packinfo/getContractRentAccountDetail',
  importPackExcel: '/api/packinfo/ImportPackExcel',
  getRentReductStandardManage: '/api/rentmanagement/getRentReductStandardManage',
  postRentReductStandardManage: '/api/rentmanagement/postRentReductStandardManage',
  getRentReductStandardManageDetail: '/api/rentmanagement/getRentReductStandardManageDetail',
  getVoluntarySignOut: '/api/packinfo/getVoluntarySignOut',
  postExitHouses: '/api/followupmanagement/postExitHouses',
  postExitHousesList: '/api/followupmanagement/postExitHousesList',
  getNoticeSignOut: '/api/packinfo/getNoticeSignOut',
  postUpdateNoticeSignOut: '/api/packinfo/postUpdateNoticeSignOut',
  getFollowUpList: '/api/followupmanagement/getFollowUpList',
  getConfirmHousesList: '/api/followupmanagement/getConfirmHousesList',
  getProjectPlanList: '/api/projectplan/getEbll_No001YPlan',
  getProjectPlanDetail: '/api/projectplan/getEbll_No001YPlanIDDetail',
  postProjectPlan: '/api/projectplan/postEbll_No001YPlan',
  getProjectList: '/api/OAA_Project/Get_Project_List',
  getProjectDetail: '/api/OAA_Project/Get_ProjectDetail',
  getPlanOrProjetOptions: '/api/sysobject/GetOjb_DropList',
  postProject: '/api/OAA_Project/POST_Project',
  getProjectScheduleList: '/api/OAA_Project/Get_ProjectProject_List',
  getProjectScheduleDetail: '/api/OAA_Project/Get_ProjectProgressDetail',
  postProjectSchedule: '/api/OAA_Project/POST_ProjectProgress',
  getRealEstateInformationList: '/api/OAA_House/Get_LP_List',
  getRealEstateInformationDetail: '/api/OAA_House/Get_LP_Detailid',
  postRealEstateInformation: '/api/OAA_House/postebll_No001House',
  getHouseInfoList: '/api/OAA_House/gete_HouseInfo',
  getHouseCardList: '/api/OAA_House/getebll_No001HousesFloor_List',
  postHouseResources: '/api/OAA_House/POST_HouseResources',
  getFloorCardList: '/api/OAA_House/getebll_No001HousesFloor2',
  getHouseTableList: '/api/OAA_House/getebll_No001HousesFloor',
  postHouseElement: '/api/OAA_House/POST_Addebll_No001HousesFloor',
  getHouseDetail: '/api/OAA_House/getHouseFloorDetail',
  getProposerList: '/api/OAB_Proposer/getProposerList',
  getobeESitesInfo: '/api/obeesitesinfo/getobeESitesInfo',
  getESitesListInfo: '/api/obeesitesinfo/getESitesListInfo',
  postBatchHousesFloor: '/api/OAA_House/POST_Batch_HousesFloor',
  getFYDropList: '/api/sysobject/GetFY_DropList',
}

export function getContractNewOrSupplement(params) {
  return request({
    url: districtApi.getContractNewOrSupplement,
    method: 'get',
    params,
  })
}

export function getRentManageList(params) {
  return request({
    url: districtApi.getRentManageList,
    method: 'get',
    params,
  })
}

export function getRentReductStandardManageList(params) {
  return request({
    url: districtApi.getRentReductStandardManageList,
    method: 'get',
    params,
  })
}

export function getSignContractMode(params) {
  return request({
    url: districtApi.getSignContractMode,
    method: 'get',
    params,
  })
}

export function postContract(data) {
  return request({
    url: districtApi.postContract,
    method: 'post',
    data,
  })
}

export function getContractDetail(params) {
  return request({
    url: districtApi.getContractDetail,
    method: 'get',
    params,
  })
}

export function getContractContinueOrStop(params) {
  return request({
    url: districtApi.getContractContinueOrStop,
    method: 'get',
    params,
  })
}

export function endContract(params) {
  return request({
    url: districtApi.endContract,
    method: 'get',
    params,
  })
}

export function getContractStatistics(params) {
  return request({
    url: districtApi.getContractStatistics,
    method: 'get',
    params,
  })
}

export function getContractAccount(params) {
  return request({
    url: districtApi.getContractAccount,
    method: 'get',
    params,
  })
}

export function getStaticHouse(params) {
  return request({
    url: districtApi.getStaticHouse,
    method: 'get',
    params,
  })
}

export function getAllocated(params) {
  return request({
    url: districtApi.getAllocated,
    method: 'get',
    params,
  })
}

export function getSigned(params) {
  return request({
    url: districtApi.getSigned,
    method: 'get',
    params,
  })
}

export function getContractRentAccount(params) {
  return request({
    url: districtApi.getContractRentAccount,
    method: 'get',
    params,
  })
}

export function getContractRentAccountDetail(params) {
  return request({
    url: districtApi.getContractRentAccountDetail,
    method: 'get',
    params,
  })
}

export function importPackExcel(params) {
  return request({
    url: districtApi.importPackExcel,
    method: 'get',
    params,
  })
}

export function getRentReductStandardManage(params) {
  return request({
    url: districtApi.getRentReductStandardManage,
    method: 'get',
    params,
  })
}

export function postRentReductStandardManage(data) {
  return request({
    url: districtApi.postRentReductStandardManage,
    method: 'post',
    data,
  })
}

export function getRentReductStandardManageDetail(params) {
  return request({
    url: districtApi.getRentReductStandardManageDetail,
    method: 'get',
    params,
  })
}

export function getVoluntarySignOut(params) {
  return request({
    url: districtApi.getVoluntarySignOut,
    method: 'get',
    params,
  })
}

export function postExitHouses(data) {
  return request({
    url: districtApi.postExitHouses,
    method: 'post',
    data,
  })
}

export function postExitHousesList(data) {
  return request({
    url: districtApi.postExitHousesList,
    method: 'post',
    data,
  })
}

export function getNoticeSignOut(params) {
  return request({
    url: districtApi.getNoticeSignOut,
    method: 'get',
    params,
  })
}

export function postUpdateNoticeSignOut(params) {
  return request({
    url: districtApi.postUpdateNoticeSignOut,
    method: 'get',
    params,
  })
}

export function getFollowUpList(params) {
  return request({
    url: districtApi.getFollowUpList,
    method: 'get',
    params,
  })
}

export function getConfirmHousesList(params) {
  return request({
    url: districtApi.getConfirmHousesList,
    method: 'get',
    params,
  })
}

export function getProjectPlanList(params) {
  return request({
    url: districtApi.getProjectPlanList,
    method: 'get',
    params,
  })
}

export function getProjectPlanDetail(params) {
  return request({
    url: districtApi.getProjectPlanDetail,
    method: 'get',
    params,
  })
}

export function postProjectPlan(data) {
  return request({
    url: districtApi.postProjectPlan,
    method: 'post',
    data,
  })
}

export function getProjectList(params) {
  return request({
    url: districtApi.getProjectList,
    method: 'get',
    params,
  })
}

export function getProjectDetail(params) {
  return request({
    url: districtApi.getProjectDetail,
    method: 'get',
    params,
  })
}

export function getPlanOrProjetOptions(params) {
  return request({
    url: districtApi.getPlanOrProjetOptions,
    method: 'get',
    params,
  })
}

export function postProject(data) {
  return request({
    url: districtApi.postProject,
    method: 'post',
    data,
  })
}

export function getProjectScheduleList(params) {
  return request({
    url: districtApi.getProjectScheduleList,
    method: 'get',
    params,
  })
}

export function getProjectScheduleDetail(params) {
  return request({
    url: districtApi.getProjectScheduleDetail,
    method: 'get',
    params,
  })
}

export function postProjectSchedule(data) {
  return request({
    url: districtApi.postProjectSchedule,
    method: 'post',
    data,
  })
}

export function getRealEstateInformationList(params) {
  return request({
    url: districtApi.getRealEstateInformationList,
    method: 'get',
    params,
  })
}

export function getRealEstateInformationDetail(params) {
  return request({
    url: districtApi.getRealEstateInformationDetail,
    method: 'get',
    params,
  })
}

export function postRealEstateInformation(data) {
  return request({
    url: districtApi.postRealEstateInformation,
    method: 'post',
    data,
  })
}

export function getHouseInfoList(params) {
  return request({
    url: districtApi.getHouseInfoList,
    method: 'get',
    params,
  })
}

export function getHouseCardList(params) {
  return request({
    url: districtApi.getHouseCardList,
    method: 'get',
    params,
  })
}

export function postHouseResources(data) {
  return request({
    url: districtApi.postHouseResources,
    method: 'post',
    data,
  })
}

export function getFloorCardList(params) {
  return request({
    url: districtApi.getFloorCardList,
    method: 'get',
    params,
  })
}

export function getHouseTableList(params) {
  return request({
    url: districtApi.getHouseTableList,
    method: 'get',
    params,
  })
}

export function postHouseElement(data) {
  return request({
    url: districtApi.postHouseElement,
    method: 'post',
    data,
  })
}

export function getHouseDetail(params) {
  return request({
    url: districtApi.getHouseDetail,
    method: 'get',
    params,
  })
}

export function getProposerList(params) {
  return request({
    url: districtApi.getProposerList,
    method: 'get',
    params,
  })
}

export function getobeESitesInfo(params) {
  return request({
    url: districtApi.getobeESitesInfo,
    method: 'get',
    params,
  })
}

export function getESitesListInfo(params) {
  return request({
    url: districtApi.getESitesListInfo,
    method: 'get',
    params,
  })
}

export function postBatchHousesFloor(data) {
  return request({
    url: districtApi.postBatchHousesFloor,
    method: 'post',
    data,
  })
}

export function getFYDropList(params) {
  return request({
    url: districtApi.getFYDropList,
    method: 'get',
    params,
  })
}
